package com.yuhong.springbootinit.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.yuhong.springbootinit.model.dto.analysis.ApplicantBgResponse;
import com.yuhong.springbootinit.model.dto.analysis.ApplicantMajorResponse;
import com.yuhong.springbootinit.model.dto.applicant.ApplicantQueryRequest;
import com.yuhong.springbootinit.model.entity.Applicant;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yuhong.springbootinit.model.vo.ApplicantVO;

import javax.servlet.http.HttpServletRequest;

/**
* @author 10467
* @description 针对表【user】的数据库操作Service
* @createDate 2025-02-22 13:52:10
*/
public interface ApplicantService extends IService<Applicant> {

    Page<ApplicantVO> getApplicantVOPage(Page<Applicant> applicantPage);

    ApplicantVO getApplicantVO(Applicant applicant, HttpServletRequest request) throws JsonProcessingException;

    QueryWrapper<Applicant> getQueryWrapper(ApplicantQueryRequest applicantQueryRequest);

    ApplicantBgResponse getApplicantBgRatio();

    ApplicantMajorResponse getApplicantMajorRatio();

}
